package io.terminus.spzx.common.log.annotation;

import io.terminus.spzx.common.log.aspect.LogAspect;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author lichunlong lcl253137@alibaba-inc.com
 * @desc 开启自定义操作日志记录注解
 * @desc 通过Import注解导入日志切面类到Spring容器中
 * @date 2024-10-18
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import(value = LogAspect.class)
public @interface EnableSpzxLog {

}
